package com.example.notice_management_p1.service;


import com.pojo.Entity.Notice;
import com.pojo.dto.ToNotice;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface INoticeService {
    public Integer insert(Notice notice, HttpServletRequest httpServletRequest);
    public Integer update(Notice notice,HttpServletRequest httpServletRequest);
    public List<ToNotice> getlnotice(Integer Page, Integer Number);
    public Notice getnotice(Integer nID);
    public Integer delete(Integer nID);

    public Integer getsum();
}
